package com.qf.smsplatfrom.mapper;

import com.qf.smsplatfrom.pojo.TSmsTemplate;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TSmsTemplateMapper {

    @Insert("insert into t_sms_template(template,paramter,owntype,creater,status) values(#{template},#{paramter},#{owntype},#{creater},#{status})")
    int insertTSmsTemplate(TSmsTemplate smsTemplate);
    @Select("select * from t_sms_template")
    List<TSmsTemplate> selectAll();


    List<TSmsTemplate> findByMultiParam(TSmsTemplate tSmsTemplate);

}
